home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ IE Options 1.xpl < prev    next >
Text File  |  1999-08-27  |  2KB  |  84 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="4"
  4. "UIPATH"="Internet\Internet Explorer\System"
  5. "NAME"="Advanced Options"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.41"
  8. "TEXT 1"="Display Splash Screen while loading"
  9. "TEXT 2"="Check for IE Updates on microsoft.com"
  10. "TEXT 3"="Allow Auto-Setup of components"
  11. "TEXT 4"="Use new (Explorer-like) display for FTP sites"
  12. "DESCRIPTION 1"="Some misc. settings of Internet Explorer you might conside changing."
  13. "DESCRIPTION 2"=""
  14. "AUTHOR"="Xteq Systems"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  17. "COMMENT 2"=""
  18.  
  19.  
  20. sP="HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions\"
  21. sV1="NoSplash" 'DW
  22. sV2="NoUpdateCheck"
  23. sV3="NoJITSetup"
  24.  
  25. sV4="HKCU\Software\Microsoft\Ftp\Use Web Based FTP" 'STR
  26.  
  27. 'Called when the Plugin is started
  28. SUB Plugin_Initialize  
  29.   i=RegReadValue(sP & sV1)
  30.   if i<>1 then SetUIElement 1,true
  31.  
  32.   i=RegReadValue(sP & sV2)
  33.   if i<>1 then SetUIElement 2,true
  34.  
  35.   i=RegReadValue(sP & sV3)
  36.   if i<>1 then SetUIElement 3,true
  37.  
  38.   s=RegReadValue(sV4)
  39.   if s="no" or IsEmpty(s) then SetUIElement 4,true
  40.  
  41. END SUB
  42.  
  43. 'Called when the Plugin should validate the Data the user has entered
  44. SUB Plugin_CheckData(ElementIndex)
  45. END SUB
  46.  
  47.  
  48.  
  49. 'Called when the Plugin should apply the changes
  50. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  51.  Call Wrt(1,sV1)
  52.  Call Wrt(2,sV2)
  53.  Call Wrt(3,sV3)
  54.  
  55.  b=GetUIElement(4)
  56.  if b=true then
  57.     s="no"
  58.  else 
  59.     s="yes"
  60.  end if
  61.  Call RegWriteValue(sV4,s,1)
  62.  
  63.  
  64.  Call Restart()
  65. END SUB
  66.  
  67. Sub Wrt(ITM,VAL)
  68.  b=GetUIElement(ITM)
  69.  if b=false then
  70.     Call RegWriteValue(sP & VAL,1,2)
  71.  else
  72.     s=RegReadValue(sP & VAl)
  73.     if IsEmpty(s)=false then
  74.        Call RegDeleteValue(sP & VAL)
  75.     end if
  76.  end if
  77. end sub
  78.  
  79.  
  80. 'Called when the Plugin is about to be removed from memory
  81. SUB Plugin_Terminate
  82. END SUB
  83.  
  84.